package cn.fighter3;

import cn.fighter3.core.CoreProcessor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.List;

@SpringBootApplication
@MapperScan("cn.fighter3.mapper")
public class DemoJavaApplication {

//    使用git管理
    public static void main(String[] args) {
        SpringApplication.run(DemoJavaApplication.class, args);
    }
//    public void TestC() throws Exception{
//        System.out.println("进入inininin");
//        CoreProcessor query = new CoreProcessor("D:/JavaProjects/HanLP/data");  //D:\JavaProjects\HanLP\data\question
//        String[] questionArr = new String[] {"羊油灯的作者是谁"};
//        for(String que: questionArr){
//            List<String> question = query.analysis(que);
//            System.err.println(question);
//        }
//    }
}
